package com.kkkk.rest.common.model;


import com.kkkk.rest.common.dto.ResponseMessage;

/**
 * 当api出错时返回的错误信息
 *
 * @author szl
 * @date 2018/02/25
 */
public class ErrorMessage extends ResponseMessage {


    public ErrorMessage(String code, String message, String fields, String service) {
        this.code = code;
        this.msg = message;
        this.fields = fields;
        this.service = service;
    }

    public ErrorMessage() {
    }

    public ErrorMessage(String code, String message) {
        this.code = code;
        this.msg = message;
    }


    public ErrorMessage(String code, String message, String service) {
        this.code = code;
        this.msg = message;
        this.service = service;
    }

}
